package com.jiaming.employee.account.bean.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author dragon
 * @create 2021-05-14 16:45
 */
@ApiModel(description = "登录信息")
@Data
public class Account {
    @ApiModelProperty(value = "账号ID",required = false,example = "1")
    private Integer id;
    @ApiModelProperty(value = "账号",required = true,example = "admin123")
    @JsonProperty("login_name")
    private String loginName;
    @ApiModelProperty(value = "账号密码",required = true,example = "admin123")
    @JsonProperty("login_pwd")
    private String loginPwd;
}
